﻿using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Drawing;
using System.Reflection;
using System.Workflow.ComponentModel;
using System.Workflow.ComponentModel.Design;
using System.Workflow.ComponentModel.Compiler;
using System.Workflow.ComponentModel.Serialization;
using System.Workflow.Runtime;
using System.Workflow.Activities;
using System.Workflow.Activities.Rules;

namespace Ensynch.ILM2.Workflow.Activities
{
    public partial class OwnerRollupActivity
    {
        #region Designer generated code

        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        [System.Diagnostics.DebuggerNonUserCode]
        private void InitializeComponent()
        {
            this.CanModifyActivities = true;
            System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind2 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind3 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind4 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind5 = new System.Workflow.ComponentModel.ActivityBind();
            this.UpdatePrimaryOwner = new Ensynch.ILM2.Workflow.Activities.UpdateAttributeActivity();
            this.ComputePrimaryOwner = new System.Workflow.Activities.CodeActivity();
            this.ResolvePrimaryOwner = new Microsoft.ResourceManagement.Workflow.Activities.ResolveGrammarActivity();
            // 
            // UpdatePrimaryOwner
            // 
            activitybind3.Name = "OwnerRollupActivity";
            activitybind3.Path = "PrimaryOwnerGrammar";
            activitybind4.Name = "OwnerRollupActivity";
            activitybind4.Path = "PrimaryOwnerNew";
            this.UpdatePrimaryOwner.Name = "UpdatePrimaryOwner";
            activitybind5.Name = "OwnerRollupActivity";
            activitybind5.Path = "TheActivityName";
            this.UpdatePrimaryOwner.SetBinding(Ensynch.ILM2.Workflow.Activities.UpdateAttributeActivity.DestinationStringProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind3)));
            this.UpdatePrimaryOwner.SetBinding(Ensynch.ILM2.Workflow.Activities.UpdateAttributeActivity.DestinationValueProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind4)));
            this.UpdatePrimaryOwner.SetBinding(Ensynch.ILM2.Workflow.Activities.UpdateAttributeActivity.TheActivityNameProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind5)));
            // 
            // ComputePrimaryOwner
            // 
            this.ComputePrimaryOwner.Name = "ComputePrimaryOwner";
            this.ComputePrimaryOwner.ExecuteCode += new System.EventHandler(this._computePrimaryOwner);
            // 
            // ResolvePrimaryOwner
            // 
            activitybind1.Name = "OwnerRollupActivity";
            activitybind1.Path = "PrimaryOwnerGrammar";
            this.ResolvePrimaryOwner.Name = "ResolvePrimaryOwner";
            activitybind2.Name = "OwnerRollupActivity";
            activitybind2.Path = "PrimaryOwner";
            this.ResolvePrimaryOwner.WorkflowDictionaryKey = null;
            this.ResolvePrimaryOwner.SetBinding(Microsoft.ResourceManagement.Workflow.Activities.ResolveGrammarActivity.GrammarExpressionProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
            this.ResolvePrimaryOwner.SetBinding(Microsoft.ResourceManagement.Workflow.Activities.ResolveGrammarActivity.ResolvedExpressionProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind2)));
            // 
            // OwnerRollupActivity
            // 
            this.Activities.Add(this.ResolvePrimaryOwner);
            this.Activities.Add(this.ComputePrimaryOwner);
            this.Activities.Add(this.UpdatePrimaryOwner);
            this.Name = "OwnerRollupActivity";
            this.CanModifyActivities = false;

        }

        #endregion

        private UpdateAttributeActivity UpdatePrimaryOwner;
        private Microsoft.ResourceManagement.Workflow.Activities.ResolveGrammarActivity ResolvePrimaryOwner;
        private CodeActivity ComputePrimaryOwner;











    }
}
